package models

// 活动累加数据
type DsActivitiesCumulative struct {
	Paid        *uint64            `gorm:"column:paid;primarykey"` // 活动id
	Paname      *string            `gorm:"column:paname"`          // 活动名称
	PaUserCnt   *int32             `gorm:"column:pa_user_cnt"`     // 活动人数
	Sumdl       *float64           `gorm:"column:sumdl"`           // 总电量
	TotalAmount *float64           `gorm:"column:total_amount"`    // 总金额
	DEFees      *float64           `gorm:"column:d_e_fees"`        // 优惠电费
	DSFees      *float64           `gorm:"column:d_s_fees"`        // 优惠服务费
	DTotalFees  *float64           `gorm:"column:d_total_fees"`    // 优惠总金额
	CreatedTime *jsontime.JsonTime `gorm:"column:created_time"`
	UpdatedTime *jsontime.JsonTime `gorm:"column:updated_time"` // 更新时间
}

func (entity *DsActivitiesCumulative) TableName() string {
	return "ds_activities_cumulative"
}
